using UnityEngine;

namespace Crosstales.UI
{
    // [Assembly-CSharp-firstpass.dll].Crosstales.UI.UIWindowManager
    public class UIWindowManager : MonoBehaviour
    {
        // Fields
        public UnityEngine.GameObject[] Windows;
        private UnityEngine.UI.Image image;
        private UnityEngine.GameObject DontTouch;
        
        // Methods
        private void Start()
        {
            if(this.Windows.Length < 1)
            {
                    return;
            }
            
            var val_5 = 0;
            label_9:
            if(val_5 >= this.Windows.Length)
            {
                goto label_3;
            }
            
            mem2[0] = this.Windows[val_5].transform.Find(n:  -1610604591).GetComponent<System.Object>();
            val_5 = val_5 + 1;
            if(val_5 < this.Windows.Length)
            {
                goto label_9;
            }
            
            return;
            label_3:
        }
        public void ChangeState(UnityEngine.GameObject active)
        {
            if(this.Windows.Length < 1)
            {
                    return;
            }
            
            var val_10 = 0;
            this = this.DontTouch;
            label_17:
            if(val_10 >= this.Windows.Length)
            {
                goto label_3;
            }
            
            if(1152921504974982128 != active)
            {
                    mem2[0] = 1152921504974982128.transform.Find(n:  -1610604591).GetComponent<System.Object>();
            }
            
            mem2[0] = 1152921504974982128.transform.Find(n:  -1610604593).gameObject;
            UnityEngine.GameObject val_9 = active;
            val_9 = UnityEngine.Object.op_Inequality(x:  1152921504974982128, y:  val_9);
            mem[this.DontTouch].SetActive(value:  val_9);
            val_10 = val_10 + 1;
            if(val_10 < this.Windows.Length)
            {
                goto label_17;
            }
            
            return;
            label_3:
        }
        public UIWindowManager()
        {
        
        }
    
    }

}
